package com.jiazhong.example.project.bookstore.backend;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@EnableCaching
@ComponentScan("com.jiazhong.example.project.bookstore")
@MapperScan("com.jiazhong.example.project.bookstore.commons")
@SpringBootApplication
public class ProjectBookstoreBackendApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProjectBookstoreBackendApplication.class, args);
    }
}